package com.example.springbootdemo;

import lombok.Data;
import org.springframework.transaction.annotation.Transactional;

@Data
public class Entity {

    private AccountType accountType;

    private int a;

//    public Entity(AccountType accountType) {
//        this.accountType = accountType;
//    }
//
//    @Transactional
//    public int getA() {
//        return a;
//    }
//
//    public void setA(int a) {
//        this.a = a;
//    }
//
//    public AccountType getAccountType() {
//        return accountType;
//    }
//
//    public void setAccountType(AccountType accountType) {
//        this.accountType = accountType;
//    }
}
